package com.bubblegumproject.ogo.component;

import com.bubblegumproject.ogo.OgoException;

/**
 * Exception raised when a Component method is invoked and it throws an exception.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
public class ComponentInvocationException extends OgoException {

    public ComponentInvocationException(Throwable target) {
        super(target);
    }

    public Throwable getComponentException() {
        return getCause();
    }
}
